<?php
  $messageDetail= new BWMessage($messageID);
  if(strlen($messageDetail->getMediaManager()->getMedia('image')->getContent())>0){
      $messagePic=$messageDetail->getMediaManager()->getMedia('image')->getContent();
  }
  else{
      $messagePic='#';
  }
  
?>
<div style="font-family: 微软雅黑; font-size: 14px; line-height: 28px">
    <div style="text-align: center;margin-bottom: 4px;padding:0 1px;">
        <img src="<?php echo Yii::app()->request->baseUrl.$messagePic; ?>" style="width:100%; height:160px;"/>
    </div>
    <div style="padding: 0 10px; margin: 0px;">
        <div><?php echo "美食名称:".$messageName?></div>
        <div><?php echo "美食描述:".$messageDsc?></div>
    </div>
</div>
